package com.leyou.search.service;

import com.leyou.common.domain.PageResult;
import com.leyou.dto.CategoryDto;
import com.leyou.search.doc.Good;
import com.leyou.search.dto.SearchRequest;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @version V1.0
 * @author: Ljxpa
 * @date: 2020/03/11 16:58
 * @description:
 */
public interface SearchService {
	PageResult<Good> pageQueryGoods(SearchRequest searchRequest);

	Map<String, List<?>> queryFilterListByKey(SearchRequest searchRequest);

	List<CategoryDto> queryCategoriesByCid3(Long cid3);
}
